#!/bin/sh
opposite_ip=$1
sed -i "s%opposite_ip%$opposite_ip%g" /etc/rsync/system_rsync_inotify.sh
sed -i "s%opposite_ip%$opposite_ip%g" /etc/rsyncd.conf

root_path=$2
sed -i "s%root_path%$root_path%g" /etc/rsync/system_rsync_inotify.sh
sed -i "s%root_path%$root_path%g" /etc/rsyncd.conf


